PHY GET RAY CAST OBJECT

Determine the identification number of the object that the ray cast hit.

  Syntax
Return Integer=PHY GET RAY CAST OBJECT()
  Returns

returns the ID number of the object hit by the ray cast

  Description

This command returns the object identification number that the ray cast hit. To determine if the ray cast that was performed actually hit an object first of all check that phy get ray cast hit returns a value of 1 or that phy ray cast all shapes returns 1.

  Example Code
No example code is provided for this command